package com.pulp.dao.impl;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import org.springframework.orm.ibatis.support.SqlMapClientDaoSupport;

import com.pulp.dao.OrgnizationInfoDAO;

public class OrgnizationInfoDAOImpl extends SqlMapClientDaoSupport implements OrgnizationInfoDAO {

	public List getLoginUserMapping(String empno, String pwd) {
		Map args = new HashMap();
		args.put("empno", empno);
		args.put("pwd", pwd);
		return getSqlMapClientTemplate().queryForList("orgni.loginusermapping", args);
	}

	public List getUserInfo() {
		Map args = new HashMap();
		return getSqlMapClientTemplate().queryForList("orgni.userinfo", args);
	}

	public List getCountry() {
		Map args = new HashMap();
		return getSqlMapClientTemplate().queryForList("orgni.country", args);
	}
}
